﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace Akronus.TaskScheduler
{
    /// <summary>
    /// Describes the configuration of task section.
    /// </summary>
    public class TaskConfiguration
    {
        /// <summary>
        /// Gets or sets the name of the task state connection string.
        /// </summary>
        /// <value>The name of the task state connection string.</value>
        public string TaskStateConnectionStringName { get; set; }

        public bool AllowRunningTaskWithSameType { get; set; }

        /// <summary>
        /// Gets or sets the tasks.
        /// </summary>
        /// <value>The tasks.</value>
        public XmlNodeList Tasks { get; set; }
    }
}
